﻿#ifndef SYSTEMSETTING_3_H
#define SYSTEMSETTING_3_H

#include <QWidget>
#include <QTimer>
#include <QPushButton>
#include <QLineEdit>
#include "Global.h"

namespace Ui {
class SystemSetting_3;
}

class SystemSetting_3 : public QWidget
{
    Q_OBJECT
    
public:
    QLabel* time;
    QLabel* signal;
    void keyHandle(QPushButton* btn, QLineEdit* lineEdit);
    void keyBoardConnect();
    explicit SystemSetting_3(QWidget *parent = 0);
    ~SystemSetting_3();
public slots:
    void on_Keyboard_clicked();

private slots:
    void show_V_I(int current);
    void on_buttonBack_clicked();
    void on_buttonPrev_clicked();
    void on_buttonNext_clicked();
    void on_buttonSave_clicked();

private:
    QModelIndex index;
    QStandardItemModel* _V_I_Model;
    QDataWidgetMapper* _V_I_mapper;
    Ui::SystemSetting_3 *ui;
};

#endif // SYSTEMSETTING_3_H
